export interface addUserObj {
  username: string
  password: string
  email?: string
  mobile?: number
}

export interface userObj {
  id: number
  username: string
  mobile: number
  type: number
  email: string
  createTime: string
  mgState: boolean
  roleName: string
}

export interface page {
  pagenum:number
  pagesize:number
  query?:string
}

export type userArr = Array<userObj>

export interface userState {
  userArr:userArr
  findName:userArr
  pageNum:number
  pageSize:number
  count:number
  roles:Array<object>
}
